<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>风控</title>
    <jsp:include page="../../import.jsp" flush="true" />
    <style>
        /*.sq-staticGrid table td{text-align:left;padding-left:10px;}*/
    </style>
</head>
<body class="iframeBody">
<div style="display:none;">
    <div class="field">
        <!-- 客户主键 -->
        <input name="zx_cstid" id="zx_cstid" type="text" class="ui-textbox" value="${zx_cstid}">
        <!-- 项目主键 -->
        <input name="zx_prjid" id="zx_prjid" type="text" class="ui-textbox" value="${zx_prjid}">
        <!-- 图片服务器根服务 -->
        <input name="zx_pathid" id="zx_pathid" type="text" class="ui-textbox" value="${zx_path}">
        <!-- 担保人主键,是一个JSON数组 -->
        <div name="zx_dbrid" id="zx_dbrid">${zx_dbrid }</div>
    </div>
</div>


<div class="sqPanel">
    <div class="sqPanel_head inL">
        <span>第三方征信(承租人)</span>
    </div>
    <div class="sqPanel_body">
        <div class="sq-staticGrid">
            <table class="table_full">
                <thead>
                <tr>
                    <td width="20%">公司名称</td>
                    <td width="10%">状态</td>
                    <td width="50%">描述</td>
                    <td width="20%">操作</td>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>信加</td>
                    <td id="xjsId${zx_cstid}">&nbsp;</td>
                    <td id="xjDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="xjOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refXjData(${zx_cstid},'');">重新查</a>
                        <sys:funcAuth resCd="showRhNpReport">
                            <a href="javascript:;" onclick="xjShow(${zx_cstid},'');">报告</a>
                        </sys:funcAuth>
                    </td>
                </tr>
                <tr>
                    <td>鹏元(建议)</td>
                    <td id="pyjysId${zx_cstid}">&nbsp;</td>
                    <td id="pyjyDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pyjyOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPyJyData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pyjyShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>鹏元(驾照)</td>
                    <td id="pyjzsId${zx_cstid}">&nbsp;</td>
                    <td id="pyjzDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pyjzOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPyJzData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pyjzShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>鹏元(卡交易)</td>
                    <td id="pykjysId${zx_cstid}">&nbsp;</td>
                    <td id="pykjyDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pykjyOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPykjyData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pykjyShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>鹏元(三要素手机核查)</td>
                    <td id="pysyssId${zx_cstid}">&nbsp;</td>
                    <td id="pysysDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pysysOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPysysData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pysysShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>鹏元(学历核查)</td>
                    <td id="pyxlsId${zx_cstid}">&nbsp;</td>
                    <td id="pyxlDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pyxlOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPyxlData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pyxlShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>鹏元分</td>
                    <td id="pyscrId${zx_cstid}">&nbsp;</td>
                    <td id="pyscrDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="pyscrOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refPyscrData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="pyscrShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>聚信立蜜罐</td>
                    <td id="jxlsId${zx_cstid}">&nbsp;</td>
                    <td id="jxlDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="jxlOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refJxlData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="jxlShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>百融</td>
                    <td id="brsId${zx_cstid}">&nbsp;</td>
                    <td id="brDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="brOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refBrData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="brShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>百融不良信息</td>
                    <td id="brsblId${zx_cstid}">&nbsp;</td>
                    <td id="brblDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="brblOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refBrblData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="brblShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>百融个人信息关联</td>
                    <td id="brspersonId${zx_cstid}">&nbsp;</td>
                    <td id="brpersonDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="brpersonOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refBrPersonData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="brPersonShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>百融手机核查</td>
                    <td id="brstelId${zx_cstid}">&nbsp;</td>
                    <td id="brtelDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="brtelOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refBrTelData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="brTelShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>同盾</td>
                    <td id="tdsId${zx_cstid}">&nbsp;</td>
                    <td id="tdDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="tdOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refTdData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="tdShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>同盾手机核查</td>
                    <td id="tdstelId${zx_cstid}">&nbsp;</td>
                    <td id="tdtelDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="tdtelOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refTdtelData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="tdtelShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>同盾手机在网时长</td>
                    <td id="tdsmntId${zx_cstid}">&nbsp;</td>
                    <td id="tdmntDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="tdmntOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refTdmntData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="tdmntShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <tr>
                    <td>中智诚</td>
                    <td id="zzcsId${zx_cstid}">&nbsp;</td>
                    <td id="zzcDescId${zx_cstid}" style="text-align:left;padding-left:10px;">&nbsp;</td>
                    <td id="zzcOper" style="text-align:left;padding-left:10px;">
                        <a href="javascript:;" onclick="refZzcData(${zx_cstid},'');">重新查</a>
                        <a href="javascript:;" onclick="zzcShow(${zx_cstid},'');">报告</a>
                    </td>
                </tr>
                <!-- <tr>
                    <td>担保人</td>
                    <td id="dbrsId">&nbsp;</td>
                    <td id="dbrDescId">&nbsp;</td>
                    <td id="dbrOper">
                        <a href="javascript:;" onclick="refDbrData();">重新查</a>
                        <a href="javascript:;" onclick="dbrShow();">报告</a>
                    </td>
                </tr> -->
                </tbody>
            </table>
        </div>
    </div>
</div>
<!-- 动态数据 -->
<div id="zx_dym_div_id">&nbsp;</div>

<script>
    $(function() {
        var _cstId = $("#zx_cstid").val();
        initData(_cstId, "");//初始化承租人
        refXjData(_cstId, "");//初始化承租人人行信息
        initDbr();//初始化担保人
    });

    var pathMap = new HashMap();//记录对应的报告路径

    //修改初始化数据
    function initData(_cstId, _typ){//_typ 分为担保人 还是 承租人
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getRiskCtrlData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                setData(msg.data, _cstId, _typ);//设置数据
            }else{
                //UIUtils.alertError(msg.info);
            }
        });
    }

    //修改时候设置页面数据
    function setData(data, _cstId, _typ){
        var json = eval(data);
        setPyJyData(json, _cstId, _typ);
        setPyJzData(json, _cstId, _typ);
        setPyxlData(json, _cstId, _typ);
        setPyscrData(json, _cstId, _typ);
        setJxlData(json, _cstId, _typ);
        setBrData(json, _cstId, _typ);
        setBrblData(json, _cstId, _typ);
        setBrPersonData(json, _cstId, _typ);
        setBrTelData(json, _cstId, _typ);
        setTdData(json, _cstId, _typ);
        setTdTelData(json, _cstId, _typ);
        setTdMNTData(json, _cstId, _typ);
        setZzcData(json, _cstId, _typ);
        setPyKjyData(json, _cstId, _typ);
        setPySysData(json, _cstId, _typ);
        //setDbrData(json, _cstId, _typ);
    };

    //重新查信加数据
    function refXjData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getXjIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setXjData(json, _cstId, _typ);
            }else{
                //UIUtils.alertError(msg.info);
            }
        });
    }


    //初始化担保人
    function initDbr(){
        var dbrArrayId = $("#zx_dbrid").html();
        var autoHtml = "";
        $.each(JSON.parse(dbrArrayId), function(index, val){
            var id = val["id"];
            var typ = "dbr";
            autoHtml+='<div class="zx_dynamic_div" cstId="'+id+'" class="sqPanel">';
            autoHtml+='<div class="sqPanel_head inL">';
            autoHtml+='<span>第三方征信(担保人-'+val["name"]+')</span>';
            autoHtml+='</div>';
            autoHtml+='<div class="sqPanel_body">';
            autoHtml+='<div class="sq-staticGrid">';
            autoHtml+='<table class="table_full">';
            autoHtml+='<thead>';
            autoHtml+='<tr>';
            autoHtml+='<td width="20%">公司名称</td>';
            autoHtml+='<td width="10%">状态</td>';
            autoHtml+='<td width="50%">描述</td>';
            autoHtml+='<td width="20%">操作</td>';
            autoHtml+='</tr>';
            autoHtml+='</thead>';
            autoHtml+='<tbody>';
            autoHtml+='<tr>';
            autoHtml+='<td>信加</td>';
            autoHtml+='<td id="xjsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="xjDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="xjOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refXjData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="xjShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元(建议)</td>';
            autoHtml+='<td id="pyjysId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pyjyDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pyjyOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPyJyData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pyjyShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元(驾照)</td>';
            autoHtml+='<td id="pyjzsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pyjzDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pyjzOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPyJzData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pyjzShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元(卡交易)</td>';
            autoHtml+='<td id="pykjysId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pykjyDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pykjyOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPykjyData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pykjyShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元(三要素手机核查)</td>';
            autoHtml+='<td id="pysyssId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pysysDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pysysOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPysysData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pysysShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元(学历核查)</td>';
            autoHtml+='<td id="pyxlsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pyxlDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pyxlOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPyxlData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pyxlShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>鹏元分</td>';
            autoHtml+='<td id="pyscrId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="pyscrDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="pyscrOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refPyscrData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="pyscrShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>聚信立蜜罐</td>';
            autoHtml+='<td id="jxlsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="jxlDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="jxlOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refJxlData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="jxlShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>百融</td>';
            autoHtml+='<td id="brsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="brDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="brOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refBrData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="brShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>百融不良信息</td>';
            autoHtml+='<td id="brsblId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="brblDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="brblOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refBrblData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="brblShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>百融个人信息关联</td>';
            autoHtml+='<td id="brspersonId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="brpersonDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="brpersonOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refBrPersonData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="brPersonShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>百融手机核查</td>';
            autoHtml+='<td id="brstelId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="brtelDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="brtelOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refBrTelData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="brTelShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>同盾</td>';
            autoHtml+='<td id="tdsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="tdDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="tdOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refTdData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="tdShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>同盾手机核查</td>';
            autoHtml+='<td id="tdstelId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="tdtelDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="tdtelOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refTdtelData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="tdtelShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>同盾手机在网时长</td>';
            autoHtml+='<td id="tdsmntId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="tdmntDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="tdmntOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refTdmntData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="tdmntShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='<tr>';
            autoHtml+='<td>中智诚</td>';
            autoHtml+='<td id="zzcsId'+id+'dbr">&nbsp;</td>';
            autoHtml+='<td id="zzcDescId'+id+'dbr" style="text-align:left;padding-left:10px;">&nbsp;</td>';
            autoHtml+='<td id="zzcOper'+id+'dbr" style="text-align:left;padding-left:10px;">';
            autoHtml+='<a href="javascript:;" onclick="refZzcData('+id+',\''+typ+'\');">重新查</a>';
            autoHtml+='&nbsp;<a href="javascript:;" onclick="zzcShow('+id+',\''+typ+'\');">报告</a>';
            autoHtml+='</td>';
            autoHtml+='</tr>';
            autoHtml+='</tbody>';
            autoHtml+='</table>';
            autoHtml+='</div>';
            autoHtml+='</div>';
            autoHtml+='</div>';
        });

        $("#zx_dym_div_id").empty();
        $("#zx_dym_div_id").html(autoHtml);


        //循环设置数据,有多个担保人的情况,根据客户ID获取数据赋值给担保人
        $(".zx_dynamic_div").each(function() {
            var _cstId = $(this).attr("cstId");
            refXjData(_cstId, "dbr");
            initData(_cstId, "dbr");
        });
    }

    //信加报告
    function xjShow(_cstId, _typ){
        var key = "xj"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("xj"+key,"个人信用报告",getUrl(url));
    }

    //鹏元建议
    function pyjyShow(_cstId, _typ){
        var key = "pyjy"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pyjy"+key,"个人信用报告",getUrl(url));
    }

    //鹏元驾照
    function pyjzShow(_cstId, _typ){
        var key = "pyjz"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pyjz"+key,"个人信用报告",getUrl(url));
    }

    //鹏元卡交易
    function pykjyShow(_cstId, _typ){
        var key = "pykjy"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pykjy"+key,"个人信用报告",getUrl(url));
    }

    //鹏元三要素手机核查
    function pysysShow(_cstId, _typ){
        var key = "pysys"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pysys"+key,"个人信用报告",getUrl(url));
    }

    //鹏元学历信息
    function pyxlShow(_cstId, _typ){
        var key = "pyxl"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pyxl"+key,"个人信用报告",getUrl(url));
    }

    //鹏元分信息
    function pyscrShow(_cstId, _typ){
        var key = "pyscr"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("pyscr"+key,"个人信用报告",getUrl(url));
    }

    //聚信立
    function jxlShow(_cstId, _typ){
        var key = "jxl"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("jxl"+key,"个人信用报告",getUrl(url));
    }

    //百融
    function brShow(_cstId, _typ){
        var key = "br"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("br"+key,"个人信用报告",getUrl(url));
    }

    //百融不良信息
    function brblShow(_cstId, _typ){
        var key = "brbl"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("brbl"+key,"个人信用报告",getUrl(url));
    }

    //百融个人信息关联
    function brPersonShow(_cstId, _typ){
        var key = "brperson"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("brperson"+key,"个人信用报告",getUrl(url));
    }

    //百融手机核查
    function brTelShow(_cstId, _typ){
        var key = "brtel"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("brtel"+key,"个人信用报告",getUrl(url));
    }

    //同盾
    function tdShow(_cstId, _typ){
        var key = "td"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("td"+key,"个人信用报告",getUrl(url));
    }

    //同盾手机核查
    function tdtelShow(_cstId, _typ){
        var key = "tdtel"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("tdtel"+key,"个人信用报告",getUrl(url));
    }
    //同盾手机在网时长
    function tdmntShow(_cstId, _typ){
        var key = "tdmnt"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("tdmnt"+key,"个人信用报告",getUrl(url));
    }

    //中智诚报告
    function zzcShow(_cstId, _typ){
        var key = "zzc"+_cstId+_typ;
        var url = pathMap.get(key);
        if(StringUtils.isEmpty(url)){
            UIUtils.alertWarning("未获取到个人信用报告!");
            return;
        }
        Add_navTab("zzc"+key,"个人信用报告",getUrl(url));
    }

    //重新查鹏元建议数据
    function refPyJyData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getPYJyIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setPyJyData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查鹏元驾照数据
    function refPyJzData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        <%--var _url = '<%=path%>/riskctrl/rskctrl/getPYJzIsCorrectData.do';--%>
        <%--AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){--%>
            <%--if(msg.success == 1){--%>
                <%--var json = eval(msg.data);--%>
                <%--setPyJzData(json, _cstId, _typ);--%>
            <%--}else{--%>
                <%--UIUtils.alertError(msg.info);--%>
            <%--}--%>
        <%--});--%>
    }

    //重新查鹏元卡交易数据
    function refPykjyData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getKJYIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setPyKjyData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查鹏元三要素手机核查数据
    function refPysysData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getSYSIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setPySysData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查鹏元学历信息数据
    function refPyxlData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getPyEduIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setPyxlData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查鹏元分信息数据
    function refPyscrData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getPyscrIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setPyscrData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查聚信立数据
    function refJxlData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getJXLIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setJxlData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查百融数据
    function refBrData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getBrIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setBrData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查百融不良信息数据
    function refBrblData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getBrblIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setBrblData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查百融个人信息关联数据
    function refBrPersonData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getBrPersonIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setBrPersonData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查百融手机核查
    function refBrTelData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getBrtelIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setBrTelData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查同盾数据
    function refTdData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getTDIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setTdData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查同盾手机核查数据
    function refTdtelData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getTdtelIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setTdTelData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }
    //重新查同盾手机在网时长
    function refTdmntData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getTdMoblieNetwordTime.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setTdMNTData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查中智诚数据
    function refZzcData(_cstId, _typ){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getZZCIsCorrectData.do';
        AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
            if(msg.success == 1){
                var json = eval(msg.data);
                setZzcData(json, _cstId, _typ);
            }else{
                UIUtils.alertError(msg.info);
            }
        });
    }

    //重新查担保人数据
    /* function refDbrData(_cstId){
        var _prjId = $("#zx_prjid").val();
        var _url = '<%=path%>/riskctrl/rskctrl/getDBRIsCorrectData.do';
	    	AjaxUtils.ajaxGet(_url, {prjId:_prjId, cstId:_cstId}, function(msg){
	    		if(msg.success == 1){
	    			var json = eval(msg.data);
	    	    	setDbrData(json);
				}else{
					UIUtils.alertError(msg.info);
				}
	    	});
    	} */

    //设置担保人数据
    /* function setDbrData(json){
        if("false" == json["dbr-pass"]){//担保人
            $("#dbrsId").html("<font color='#D70000'>未通过</font>");
            //dbrUrl = json["dbr-path"];
        }else if("true" == json["dbr-exception"]){
            $("#dbrsId").html("<font color='#D70000'>异常</font>");
        }else{
            $("#dbrsId").html("<font color='#00A900'>通过</font>");
            //dbrUrl = json["dbr-path"];
        }
        $("#dbrDescId").html(json["dbr"]);
    } */

    //设置中智诚数据
    function setZzcData(json, _cstId, _typ){
        pathMap.remove("zzc"+_cstId+_typ);//先删除
        if("false" == json["zzchmd-pass"]){//中智诚黑名单
            $("#zzcsId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //zzchmdUrl = json["zzchmd-path"];
            pathMap.put("zzc"+_cstId+_typ, json["zzchmd-path"]);
        }else if("true" == json["zzchmd-exception"]){
            $("#zzcsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["zzchmd-pass"]){
            $("#zzcsId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //zzchmdUrl = json["zzchmd-path"];
            pathMap.put("zzc"+_cstId+_typ, json["zzchmd-path"]);
        }else{
            $("#zzcsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#zzcDescId"+_cstId+_typ).html(json["zzchmd"]);
    }

    //设置同盾数据
    function setTdData(json, _cstId, _typ){
        pathMap.remove("td"+_cstId+_typ);//先删除
        if("false" == json["tdfs-pass"]){//同盾分数
            $("#tdsId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //tdUrl = json["tdfs-path"];
            pathMap.put("td"+_cstId+_typ, json["tdfs-path"]);
        }else if("true" == json["tdfs-exception"]){
            $("#tdsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["tdfs-pass"]){
            $("#tdsId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //tdUrl = json["tdfs-path"];
            pathMap.put("td"+_cstId+_typ, json["tdfs-path"]);
        }else{
            $("#tdsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#tdDescId"+_cstId+_typ).html(json["tdfs"]);
    }

    //设置同盾手机核查
    function setTdTelData(json, _cstId, _typ){
        pathMap.remove("tdtel"+_cstId+_typ);//先删除
        if("false" == json["tdtel-pass"]){//百融分数
            pathMap.put("tdtel"+_cstId+_typ, json["tdtel-path"]);
        }else if("true" == json["tdtel-exception"]){
            $("#tdstelId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["tdtel-pass"]){
            pathMap.put("tdtel"+_cstId+_typ, json["tdtel-path"]);
        }else{
            $("#tdstelId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#tdtelDescId"+_cstId+_typ).html(json["tdtel"]);
    }
    //设置同盾手机在网时长
    function setTdMNTData(json, _cstId, _typ){
        pathMap.remove("tdmnt"+_cstId+_typ);//先删除
        if("false" == json["tdmnt-pass"]){//百融分数
            pathMap.put("tdtel"+_cstId+_typ, json["tdmnt-path"]);
        }else if("true" == json["tdmnt-exception"]){
            $("#tdsmntId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["tdmnt-pass"]){
            pathMap.put("tdmnt"+_cstId+_typ, json["tdmnt-path"]);
        }else{
            $("#tdsmntId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#tdmntDescId"+_cstId+_typ).html(json["tdmnt"]);
    }

    //设置百融数据
    function setBrData(json, _cstId, _typ){
        pathMap.remove("br"+_cstId+_typ);//先删除
        if("false" == json["brfs-pass"]){//百融分数
            $("#brsId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("br"+_cstId+_typ, json["brfs-path"]);
        }else if("true" == json["brfs-exception"]){
            $("#brsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["brfs-pass"]){
            $("#brsId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("br"+_cstId+_typ, json["brfs-path"]);
        }else{
            $("#brsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#brDescId"+_cstId+_typ).html(json["brfs"]);
    }

    //设置百融不良信息数据
    function setBrblData(json, _cstId, _typ){
        pathMap.remove("brbl"+_cstId+_typ);//先删除
        if("false" == json["brbl-pass"]){//百融分数
//                $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("brbl"+_cstId+_typ, json["brbl-path"]);
        }else if("true" == json["brbl-exception"]){
            $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["brbl-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("brbl"+_cstId+_typ, json["brbl-path"]);
        }else{
            $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#brblDescId"+_cstId+_typ).html(json["brbl"]);
    }

    //设置百融个人信息关联数据
    function setBrPersonData(json, _cstId, _typ){
        pathMap.remove("brperson"+_cstId+_typ);//先删除
        if("false" == json["brperson-pass"]){//百融分数
//                $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("brperson"+_cstId+_typ, json["brperson-path"]);
        }else if("true" == json["brperson-exception"]){
            $("#brspersonId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["brperson-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("brperson"+_cstId+_typ, json["brperson-path"]);
        }else{
            $("#brspersonId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#brpersonDescId"+_cstId+_typ).html(json["brperson"]);
    }

    //设置百融手机核查
    function setBrTelData(json, _cstId, _typ){
        pathMap.remove("brtel"+_cstId+_typ);//先删除
        if("false" == json["brtel-pass"]){//百融分数
            pathMap.put("brtel"+_cstId+_typ, json["brtel-path"]);
        }else if("true" == json["brtel-exception"]){
            $("#brstelId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["brtel-pass"]){
            pathMap.put("brtel"+_cstId+_typ, json["brtel-path"]);
        }else{
            $("#brstelId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#brtelDescId"+_cstId+_typ).html(json["brtel"]);
    }

    //设置聚信立数据
    function setJxlData(json, _cstId, _typ){
        pathMap.remove("jxl"+_cstId+_typ);//先删除
        if("false" == json["jxlmgfs-pass"]){//聚信立蜜罐分数
            $("#jxlsId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //jxlUrl = json["jxlmgfs-path"];
            pathMap.put("jxl"+_cstId+_typ, json["jxlmgfs-path"]);
        }else if("true" == json["jxlmgfs-exception"]){
            $("#jxlsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["jxlmgfs-pass"]){
            $("#jxlsId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //jxlUrl = json["jxlmgfs-path"];
            pathMap.put("jxl"+_cstId+_typ, json["jxlmgfs-path"]);
        }else{
            $("#jxlsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#jxlDescId"+_cstId+_typ).html(json["jxlmgfs"]);
    }


    //设置鹏元建议数据
    function setPyJyData(json, _cstId, _typ){
        pathMap.remove("pyjy"+_cstId+_typ);//先删除
        if("false" == json["pyjy-pass"]){//鹏元建议
            $("#pyjysId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //pyjyUrl = json["pyjy-path"];
            pathMap.put("pyjy"+_cstId+_typ, json["pyjy-path"]);
        }else if("true" == json["pyjy-exception"]){
            $("#pyjysId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pyjy-pass"]){
            $("#pyjysId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            pathMap.put("pyjy"+_cstId+_typ, json["pyjy-path"]);
        }else{
            $("#pyjysId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#pyjyDescId"+_cstId+_typ).html(json["pyjy"]);
    }

    //设置鹏元驾照数据
    function setPyJzData(json, _cstId, _typ){
        pathMap.remove("pyjz"+_cstId+_typ);//先删除
        if("false" == json["pyjz-pass"]){//鹏元驾照
            $("#pyjzsId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //pyjzUrl = json["pyjz-path"];
            pathMap.put("pyjz"+_cstId+_typ, json["pyjz-path"]);
        }else if("true" == json["pyjz-exception"]){
            $("#pyjzsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pyjz-pass"]){
            $("#pyjzsId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            pathMap.put("pyjz"+_cstId+_typ, json["pyjz-path"]);
        }else{
            $("#pyjzsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#pyjzDescId"+_cstId+_typ).html(json["pyjz"]);
    }

    //设置鹏元卡交易数据
    function setPyKjyData(json, _cstId, _typ){
        pathMap.remove("pykjy"+_cstId+_typ);//先删除
        if("false" == json["pykjy-pass"]){
            $("#pykjysId"+_cstId+_typ).html("");
            //pykjyUrl = json["pykjy-path"];
            pathMap.put("pykjy"+_cstId+_typ, json["pykjy-path"]);
        }else if("true" == json["pykjy-exception"]){
            $("#pykjysId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pykjy-pass"]){
            $("#pykjysId"+_cstId+_typ).html("");
            //pykjyUrl = json["pykjy-path"];
            pathMap.put("pykjy"+_cstId+_typ, json["pykjy-path"]);
        }else{
            $("#pykjysId"+_cstId+_typ).html("");
        }
        $("#pykjyDescId"+_cstId+_typ).html(json["pykjy"]);
    }

    //设置鹏元三要素手机核查数据
    function setPySysData(json, _cstId, _typ){
        pathMap.remove("pysys"+_cstId+_typ);//先删除
        if("false" == json["pysys-pass"]){
            $("#pysyssId"+_cstId+_typ).html("");
            //pysysUrl = json["pysys-path"];
            pathMap.put("pysys"+_cstId+_typ, json["pysys-path"]);
        }else if("true" == json["pysys-exception"]){
            $("#pysyssId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pysys-pass"]){
            $("#pysyssId"+_cstId+_typ).html("");
            //pysysUrl = json["pysys-path"];
            pathMap.put("pysys"+_cstId+_typ, json["pysys-path"]);
        }else{
            $("#pysyssId"+_cstId+_typ).html("");
        }
        $("#pysysDescId"+_cstId+_typ).html(json["pysys"]);
    }

    //设置鹏元学历信息数据
    function setPyxlData(json, _cstId, _typ){
        pathMap.remove("pyxl"+_cstId+_typ);//先删除
        if("false" == json["pyxl-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("pyxl"+_cstId+_typ, json["pyxl-path"]);
        }else if("true" == json["pyxl-exception"]){
            $("#pyxlsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pyxl-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("pyxl"+_cstId+_typ, json["pyxl-path"]);
        }else{
            $("#pyxlsId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#pyxlDescId"+_cstId+_typ).html(json["pyxl"]);
    }

    //设置鹏元分信息数据
    function setPyscrData(json, _cstId, _typ){
        pathMap.remove("pyscr"+_cstId+_typ);//先删除
        if("false" == json["pyscr-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#D70000'>未通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("pyscr"+_cstId+_typ, json["pyscr-path"]);
        }else if("true" == json["pyscr-exception"]){
            $("#pyscrId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else if("true" == json["pyscr-pass"]){
//                $("#brsblId"+_cstId+_typ).html("<font color='#00A900'>通过</font>");
            //brUrl = json["brfs-path"];
            pathMap.put("pyscr"+_cstId+_typ, json["pyscr-path"]);
        }else{
            $("#pyscrId"+_cstId+_typ).html("<font color='#D70000'>未知</font>");
        }
        $("#pyscrDescId"+_cstId+_typ).html(json["pyscr"]);
    }

    //设置信加数据
    function setXjData(json, _cstId, _typ){
        pathMap.remove("xj"+_cstId+_typ);//先删除
        if("false" == json["xj-pass"] || "false" == json["xj-pass"]){//鹏元建议
            $("#xjsId").html("");
            //xjUrl = json["xj-path"];
            pathMap.put("xj"+_cstId+_typ, json["xj-path"]);
        }else if("true" == json["xj-exception"]){
            $("#xjsId"+_cstId+_typ).html("<font color='#D70000'>异常</font>");
        }else{
            //xjUrl = json["xj-path"];
            pathMap.put("xj"+_cstId+_typ, json["xj-path"]);
            $("#xjsId"+_cstId+_typ).html("");
        }
        $("#xjDescId"+_cstId+_typ).html(json["xj"]);
    }

    //返回完整路径
    function getUrl(url){
        var p = $("#zx_pathid").val();
        return p + url;
    }

</script>
</body>
</html>